/*
  Tri-Color LED Blink
  Various 1 second blinking patterns to test common anode tri-color LED
*/

void setup() {                
  // initialize the digital pins as an output.
  pinMode(0, OUTPUT);     
  pinMode(1, OUTPUT);     
  pinMode(2, OUTPUT);     
}

  // repeat forever
void loop() {
  digitalWrite(0, LOW);   // Turn LED ON
  delay(1000);            // Wait 1000ms = 1 second
  digitalWrite(0, HIGH);  // Turn LED OFF
  delay(1000);            
  
  digitalWrite(1, LOW);   
  delay(1000);            
  digitalWrite(1, HIGH);  
  delay(1000);            
  
  digitalWrite(2, LOW);   
  delay(1000);            
  digitalWrite(2, HIGH);
  delay(1000);          
    
  digitalWrite(0,LOW);
  digitalWrite(1,LOW);
  digitalWrite(2,LOW);
  delay(1000);
  
  digitalWrite(0,LOW);
  digitalWrite(1,HIGH);
  digitalWrite(2,LOW);
  delay(1000);
  
  digitalWrite(0,HIGH);
  digitalWrite(1,HIGH);
  digitalWrite(2,HIGH);
  
}
